package com.verification.com.verification;

import android.content.Context;

import com.library.verification.manager.VerificationManager;

/**
 * Created by zhoulikai on 17/4/24.
 */

public class VerificationManagerFactory {
    /**
     * 生成管理器对象
     *
     * @param context
     * @param type
     * @param style
     * @return
     */
    public static VerificationManager makeManager(Context context, int type, int style) {
        //创建初始化参数
        VerificationManager.VerificationManagerParameter parameter = new VerificationParameter(type, style);
        //初始化管理器
        VerificationManager verificationManager = new VerificationManager(context, parameter);
        return verificationManager;
    }
}
